# shp to GeoJson
import geopandas as gpd
#data = gpd.read_file('中国省级区域20200720.shp')
#data.to_file("中国省级区域20200720.json", driver='GeoJSON', encoding="utf-8")

# GeoJson to shp
data = gpd.read_file(r'C:\Users\Admin\Desktop\voc_data\image\333_101.json')
data.to_file('333_101', driver='ESRI Shapefile', encoding='utf-8')





